﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace DotNet.Utilities.Utils帮助类
{
    [Serializable]
    public class BasePoco
    {
        [Key]
        public virtual long ID { get; set; }


        [Display(Name = "创建时间", Description = "创建时间")]
        public DateTime? CreateTime { get; set; }
        [Display(Name = "创建人", Description = "创建人")]
        public string CreateBy { get; set; }
        [Display(Name = "修改时间", Description = "修改时间")]
        public DateTime? UpdateTime { get; set; }
        [Display(Name = "修改人", Description = "修改人")]
        public string UpdateBy { get; set; }

        [NotMapped]
        public string BatchError { get; set; }
        [NotMapped]
        public long ExcelIndex { get; set; }
    }
}
